// stairs
// using stairs takes you to another area
// Cell 0 - Zone to take to
// Cell 1 - Direction to enter it from (0 - from north, 1 - west, 2 - south, 3 - east)
// Cell 2 - What layer
// Cell 3,4 - A stuff done flag. If one is given, this flag must be zero to let party use stairs/
// Cell 5 - If the flag prevent party from using boat, starts a convo at this node.

beginobjectscript; // talking object

variables;

body;

beginstate INIT_STATE;
	break;

beginstate DEAD_STATE;
	break;

beginstate START_STATE; 
	break;

beginstate USE_STATE;
	if (gf(7,10) == 0) {
		if (gf(7,12) == 0)
			begin_talk_mode(21);
		}
	if (gf(7,10) == 1) {
		if (gf(7,16) == 3)
			begin_talk_mode(23);
		if (gf(7,16) < 3)
			begin_talk_mode(24);
		}
	if (gf(7,10) == 2) {
			begin_talk_mode(21);
		}
	play_sound(725);
	change_town(0,2);
	

break;
